package encomendaFacil.impl;

import java.util.List;
import java.util.Map;

import javax.jws.WebMethod;
import javax.jws.WebService;

import encomendaFacil.bean.Package;

@WebService
public interface PackageService {

	@WebMethod
	public Package insert(Map<String, Object> data);
	
	@WebMethod
	public Package modify(Map<String, Object> data);
	
	@WebMethod
	public void remove(Long id);
	
	@WebMethod
	public boolean updateDelivered(Map<String, Object> data);
	
	@WebMethod
	public boolean updateStatus(Map<String, Object> data);
	
	@WebMethod
	public Package findOne(Map<String, Object> params);
	
	@WebMethod
	public List<Package> find(Map<String, Object> params);
}
